﻿using System;

namespace TrainTicketsAuto.Ocrlib
{
    internal class Character : IComparable
    {
        private char charName;
        private int b0;
        private float c0;
        private int d0;
        private float e0;

        public Character(char A_0, int A_1, float A_2, int A_3)
        {
            this.charName = A_0;
            this.b0 = A_1;
            this.e0 = A_2;
            this.d0 = A_3;
        }

        public int a()
        {
            return this.d0;
        }

        public void a(char A_0)
        {
            this.charName = A_0;
        }

        public void a(int A_0)
        {
            this.c0 = A_0;
        }

        public void a(float A_0)
        {
            this.e0 = A_0;
        }

        public char b()
        {
            return this.charName;
        }

        public void b(int A_0)
        {
            this.b0 = A_0;
        }

        public float c()
        {
            return this.c0;
        }

        public int CompareTo(object obj)
        {
            Character g = (Character) obj;
            if (this.e() < g.e())
            {
                return 1;
            }
            if (this.e() == g.e())
            {
                return 0;
            }
            return -1;
        }

        public int d()
        {
            return this.b0;
        }

        public float e()
        {
            return this.e0;
        }
    }
}
